package com.ahsjdy.stcommon.dto;

import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * @Description
 * @Author xuetao wang
 * @Date 2020/2/2
 */
@Data
public class CommodityDTO {
    private Integer id;

    private Integer merchantId;

    private String commName;

    private String pictureUrl;

    private String price;

    private String originalPrice;

    private String remark;

    private Integer status;

    private String statusValue;

    private String createTime;

    //销量
    private Integer sales;

    //客户购买数量
    private Integer numb = 0;

    //数量*单价price
    private String amount;

    //口味sku
    private List<SkuDTO> guiges = Collections.emptyList();

    //规格sku
    private List<SkuDTO> kouweis = Collections.emptyList();

    //餐具费
    private String canhefei;

    //客户选择的
    private Integer kouweiSkuId = -1;

    //客户选择的
    private Integer guigeSkuId = -1;

    //是否有sku选择
    private Boolean chose = false;
}